package com.feng.ssm.main;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * Created by haungsuip@iwellfie.net
 * Date 2016/12/7.
 */
public class TestServiceMain {

        public static void main(String[] args) {
            ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"application.xml"});
            context.start();
            System.out.println("提供者服务已注册成功");
            try {
                System.in.read();//让此程序一直跑，表示一直提供服务
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
}
